<template>
  <div class="main">
    <div class="login">
      <div>安全校验</div>
      <input type="text" name="" v-model="password">
      <button @click="login">登录</button>
    </div>
  </div>
</template>
<script>
  export default{
    data(){
      return {
        password: ""
      }
    },
    created(){

    },
    mounted(){

    },
    methods: {
      login(){
        if (this.password == "9501") {
          this.$router.push("/father");
        }
      }
    }
  }
</script>
<style scoped>
  .main {
    width: 100%;
    height: 100%;
    font-size: .16rem;
  }

  .login {
    width: 200px;
    height: 200px;
    background-color: #ccc;
    margin: auto;
  }
</style>
